#pragma once
#include "Attack.h"

class Topology;

//Shortest - Path, Export - All attack strategy. 
//Announce to every neighbor, the shortest possible path
//that is not agged as bogus by the secure routing protocol.

class SPEA : public Attack
{
public:
	SPEA(Topology* pTopology, As* pVictim, As* pAttacker);
	~SPEA();

private:
	Set<As*>* CreateWhoToSendTo(Topology* pTopology);
	BgpMessage* CreateSpeaMsg(As* pVictim, As* pAttacker);
	Set<As*>* CreateWhoToSendToWithoutChangingLinks(As* pVictim, As* pAttacker);

};

